//
//  SelectTaskDateController.m
//  Safflower
//
//  Created by 袁亮 on 2016/12/21.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#import "SelectTaskDateController.h"
#import "ZZDatePickerView.h"

@interface SelectTaskDateController ()

@end

@implementation SelectTaskDateController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.baseTitle = @"选择任务周期";
    self.rightBtnTitle = @"返回";
    
    
    UIButton *button = [UIButton new];
    [button setTitle:@"按钮" forState:UIControlStateNormal];
    [button setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    [button addTarget:self action:@selector(clickSelectDate) forControlEvents:UIControlEventTouchUpInside];
    [self.baseView addSubview:button];
    [button mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.mas_equalTo(0);
        make.size.mas_equalTo(CGSizeMake(90, 30));
    }];
    
}

- (void)clickSelectDate
{

}

- (void)didSelectDatePickerWithData:(NSString *)date
{
    ZLog(@"%@",date);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}




@end
